package com.example.hello.hello.dialog;

import android.app.Activity;

/**
 * Created by Administrator on 2016/1/14.
 */
public class DialogHelp {

    public static Loading getWaitDialog(Activity activity, String message) {
        Loading dialog = null;
        try {
            dialog = new Loading(activity);
            dialog.setMessage(message);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return dialog;
    }

}
